package com.aaa.bookproject.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author LvYongQi
 * @since 2021-05-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TBook implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "bookid", type = IdType.AUTO)
    private Integer bookid;

    private String bookname;

    /**
     * 作者
     */
    private String author;

    /**
     * 说明 描述
     */
    private String info;

    /**
     * 类型
     */
    private Integer typeid;

    /**
     * 出版社
     */
    private String publisher;

    /**
     * 销售价格
     */
    private Double buyprice;

    /**
     * 状态
     */
    private Integer status;

    private Double sellprice;

    private String url;

    /**
     * 库存
     */
    private Integer count;


}
